package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.entity.RecordMonitor;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-29
 */
public interface RecordMonitorMapper extends CustomBaseMapper<RecordMonitor> {

    @Select("select * from record_monitor where del_flag = 0 and union_flag = #{unionFlag}")
    List<RecordMonitor> getInfo(String unionFlag);
}
